package com.bawei.doctor.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bawei.common.utils.PageUtils;
import com.bawei.doctor.entity.HospitalDoctorEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bawei.doctor.vo.DoctorListVo;
import com.bawei.doctor.vo.DoctorVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 医生表
 * 
 * @author wtj
 * @email 1756179378@qq.com
 * @date 2021-12-09 16:49:01
 */
@Mapper
public interface HospitalDoctorDao extends BaseMapper<HospitalDoctorEntity> {


//    IPage<DoctorVo> doctorList03(Page<DoctorVo> doctorVoPage, @Param("typeName") String typeName);

    IPage<DoctorVo> enterHospital(Page<DoctorVo> doctorVoPage, @Param("typeName") String typeName, @Param("parentId") int parentId);


    IPage<DoctorListVo> administrativeList(Page<DoctorListVo> doctorListVoPage, @Param("adminId") Integer adminId);

    IPage<DoctorVo> administrative(Page<DoctorVo> doctorListVoPage, @Param("typeName") String typeName,@Param("parentId") int parentId);

    IPage<DoctorVo> doctorlevel(Page<DoctorVo> doctorListVoPage,@Param("typeName") String typeName, @Param("parentId") int parentId);


    List<DoctorVo> selecthospital(@Param("parentId") int parentId);
}
